]> dgit.raspbian.org Git - gnome-shell.git/commit
windowManager: Use own variables for each gesture
authorJonas Dreßler <verdre@v0yd.nl>
Wed, 26 Jun 2019 16:06:28 +0000 (18:06 +0200)
committerJonas Dreßler <verdre@v0yd.nl>
Wed, 26 Jun 2019 16:18:28 +0000 (18:18 +0200)
commit6a477be8745cfbd3a148cd8cfd98f56cd67d2aa9
tree501f1444256f639487fece71bd21b5cb3421f50c
parent03bb8cdcbdf4d12e05bc559c0ed330802d30606f
windowManager: Use own variables for each gesture

Using one variable to initialize all gestures will update the address of
the "gesture" pointer with every newly initialized object. This means
that event handlers which also use the "gesture" pointer like the
'keyboard-visible-changed' handler will update a different gesture as
soon as the pointer is changed.

This lead to a bug where the handler of 'keyboard-visible-changed'
wrongly nabled the unfullscreen gesture. Fix that by assigning each
gesture its own variable.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/598
js/ui/windowManager.js